load("@rules_cc//cc:defs.bzl", "cc_library")

cc_library(
    name = "boost.type_traits",
    hdrs = glob(
        [
            "include/**/*.hpp",
        ],
        exclude = [
            "include/boost/type_traits/detail/has_binary_operator.hpp",
            "include/boost/type_traits/detail/has_postfix_operator.hpp",
            "include/boost/type_traits/detail/has_prefix_operator.hpp",
            "include/boost/type_traits/detail/is_*.hpp",
        ],
    ),
    features = ["parse_headers"],
    includes = ["include"],
    textual_hdrs = glob([
        "include/boost/type_traits/detail/has_binary_operator.hpp",
        "include/boost/type_traits/detail/has_postfix_operator.hpp",
        "include/boost/type_traits/detail/has_prefix_operator.hpp",
        "include/boost/type_traits/detail/is_*.hpp",
    ]),
    visibility = ["//visibility:public"],
    deps = [
        "@boost.config",
        "@boost.static_assert",
    ],
)
